<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let name = prompt("请输入你的名字")
        console.log("你好，" + name + "！")
        function hello(){
            console.log("你好，" + name + "!!!")
        }
        hello()
        let hi = hello
        hi()
        let goal = ()=>{
            console.log("冲分！！！")
        }
        let num = 10
        console.log(typeof num)

        let str = "hello world"
        console.log(typeof str)

        let bool = true
        console.log(typeof bool)

        let arr = [1,2,3,4,5]
        console.log(typeof arr)
        console.log(arr instanceof Array)

        let obj = {name:"宇宙无敌暴龙战士",
                   age:20}
        console.log(typeof obj)

        let un = undefined
        console.log(typeof un)

        console.log(hi)
    </script>
</body>
</html>